﻿<%@ Page Language="C#" MasterPageFile="~/Admin.master" Theme="Admin" AutoEventWireup="true"
    CodeFile="AEditCategory.aspx.cs" Inherits="Pages_AEditCategory" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="PageStyle" style="width:100%">
        <div class="Content">
            <div class="HeaderStyle">
                <span class="Title1">Category's editor</span>
                <div class="HeadLine"></div>
            </div>
            <div class="FormStyle">
                <div class="r1empty">
                </div>
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            Tên
                        </td>
                        <td class="c1empty">
                        </td>
                        <td>
                            <asp:TextBox ID="txtName" runat="server" MaxLength="90" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rval" runat="server" ValidationGroup="editCate" Display="Dynamic"
                                ControlToValidate="txtName">Phải nhập tên</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr class="r1empty">
                        <td colspan="3">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            Mô tả
                        </td>
                        <td class="c1empty">
                        </td>
                        <td>
                            <CKEditor:CKEditorControl ID="edDesc" Language="vi" Toolbar="Basic" runat="server"></CKEditor:CKEditorControl>
                        </td>
                    </tr>
                    <tr class="r1empty">
                        <td colspan="3">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            <div class="ButtonStyle">
                                <asp:Button ID="btSave" runat="server" Text="Save" CausesValidation="true" ValidationGroup="editCate"
                                    OnClick="btSave_Click" />
                            </div>
                        </td>
                    </tr>
                </table>
                <div class="r1empty">
                    <asp:CustomValidator ID="cval" runat="server" ValidationGroup="editCate" Display="Dynamic"></asp:CustomValidator></div>
            </div>
            <div class="FooterStyle">
            </div>
        </div>
    </div>
</asp:Content>
